package com.sheyu.mall.order.feign;

import com.sheyu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author sheyu
 * @Desciption:
 * @date 2020/9/21 9:39 上午
 */
@FeignClient("product-service")
public interface ProductFeignService {
    @GetMapping(value = "/product/spuinfo/skuId/{skuId}")
    R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
